GTAOnline.net
San Andreas Multiplayer (sa:mp) => Scripting SA-MP [Pawn center] => Discussion démarrée par: WaDi le 06 Août 2013, 15:28:12
-
Je refait lepost avec les scripts que j'ai et des script de l'erreur, j'espère que vous pourrez m'aidez :s
CMD:antenneinconnu(playerid,params[])
{
if(IsPlayerInRangeOfPoint(playerid, 4.0,7548.0078,-242.5435,95.8343))
{
new string[128];
format(string, sizeof(string), "%s: %s",playerid,string);
SendClientMessageToOthers(COLOR_BLUE,string);
}
return 1;
}[/pawn]
[pawn]
public SendClientMessageToOthers(color,const string[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) == 1 && PlayerInfo[i][pOthers] == 1)
{SendClientMessage(i, COLOR_BLUE, string);}
}
return 1;
}
Screen in game*
PUB
L'erreur du return a été corriger je précise!
-
Merci d'aller lire le règlement.
-
J'arrive a peine a lire le code, je comprend pas la question tu veux qu'on t'aide a rectifier une erreur dont tu n'explique pas ce que tu veux faire.
Bref, sois plus précis et les balise pour le code :
[code = PAWN] [/ code] Sans les espaces...