30.08.2012, 14:09
Hello, im making it like it will send the positions from playerid moving in a vehicle, and my code is:
but i get those warnings
All the warnings is on the "SendClientMessageToAll"
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
SendClientMessageToAll(-1, "{FF00FF}[VEHICLE]:{FFFFFF} %d is moving to the following pos: %d, %d, %d", playerid, x, y, z);
return 1;
}
Quote:
C:\Users\Kajinth\Desktop\San Andreas Roleplay Cops Robbers\gamemodes\SARCR.pwn(30 : warning 202: number of arguments does not match definition C:\Users\Kajinth\Desktop\San Andreas Roleplay Cops Robbers\gamemodes\SARCR.pwn(30 : warning 202: number of arguments does not match definition C:\Users\Kajinth\Desktop\San Andreas Roleplay Cops Robbers\gamemodes\SARCR.pwn(30 : warning 202: number of arguments does not match definition C:\Users\Kajinth\Desktop\San Andreas Roleplay Cops Robbers\gamemodes\SARCR.pwn(30 : warning 202: number of arguments does not match definition |