OnPlayerEnterVehicle
#1

Hello, im making it like it will send the positions from playerid moving in a vehicle, and my code is:
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;
}
but i get those warnings
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

All the warnings is on the "SendClientMessageToAll"
Reply


Messages In This Thread
OnPlayerEnterVehicle - by CrazyChoco - 30.08.2012, 14:09
Re: OnPlayerEnterVehicle - by Emmet_ - 30.08.2012, 14:12
Re: OnPlayerEnterVehicle - by HuSs3n - 30.08.2012, 14:13
Re: OnPlayerEnterVehicle - by doreto - 30.08.2012, 14:13
Re: OnPlayerEnterVehicle - by Cena44 - 30.08.2012, 14:28
Re: OnPlayerEnterVehicle - by CrazyChoco - 30.08.2012, 16:10
Re: OnPlayerEnterVehicle - by CrazyChoco - 30.08.2012, 18:07
Re: OnPlayerEnterVehicle - by XtremeR - 30.08.2012, 18:55
Re: OnPlayerEnterVehicle - by HuSs3n - 30.08.2012, 19:03
Re: OnPlayerEnterVehicle - by XtremeR - 30.08.2012, 19:06

Forum Jump:


Users browsing this thread: 4 Guest(s)