10.11.2010, 15:20
Hey Everybody
I'm trying to make a vehicle id getter so i know in wich vehicle i am
(for spectating purposes)
I now have this
but its not working
it wanna know wich this line "your vehicle id is: %" has to be
Thanks in advance
I'm trying to make a vehicle id getter so i know in wich vehicle i am
(for spectating purposes)
I now have this
pawn Код:
#define FILTERSCRIPT
#include <a_samp>
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/Vid", cmdtext, true, 10) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
GetPlayerVehicleID(playerid);
SendClientMessage(playerid,0x00FF00,"your vehicle id is: %");
}
else
{
SendClientMessage(playerid,0x0000FFFF,"You are not in a vehicle");
}
return 1;
}
return 0;
}
it wanna know wich this line "your vehicle id is: %" has to be
Thanks in advance