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;
}
C:\Users\Kajinth\Desktop\San Andreas Roleplay Cops Robbers\gamemodes\SARCR.pwn(30 ![]() C:\Users\Kajinth\Desktop\San Andreas Roleplay Cops Robbers\gamemodes\SARCR.pwn(30 ![]() C:\Users\Kajinth\Desktop\San Andreas Roleplay Cops Robbers\gamemodes\SARCR.pwn(30 ![]() C:\Users\Kajinth\Desktop\San Andreas Roleplay Cops Robbers\gamemodes\SARCR.pwn(30 ![]() |
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
new szString[128];
format(szString, sizeof(szString), "{FF00FF}[VEHICLE]:{FFFFFF} %d is moving to the following pos: %d, %d, %d", playerid, x, y, z);
SendClientMessageToAll(-1, szString);
return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new Float:x, Float:y, Float:z,str[128];
GetPlayerPos(playerid, x, y, z);
format(str,sizeof(str),"{FF00FF}[VEHICLE]:{FFFFFF} %d is moving to the following pos: %f, %f, %f", playerid, x, y, z);
SendClientMessageToAll(-1, str);
return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new Float:x, Float:y, Float:z,string[128];
GetPlayerPos(playerid, x, y, z);
format(string,sizeof(string),"{FF00FF}[VEHICLE]:{FFFFFF} %d is moving to the following pos: %f, %f, %f",playerid, x, y, z);
SendClientMessageToAll(-1,string);
return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
public OnPlayerStateChange(playerid, newstate, oldstate)
SetTimerEx("Message",5000,true); // 5 secs timer
public Message()
{
new Float:x, Float:y, Float:z,string[128];
GetPlayerPos(playerid, x, y, z);
format(string,sizeof(string),"{FF00FF}[VEHICLE]:{FFFFFF} %d is moving to the following pos: %f, %f, %f",playerid, x, y, z);
SendClientMessageToAll(-1,string);
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new Float:x, Float:y, Float:z,string[128];
GetPlayerPos(playerid, x, y, z);
format(string,sizeof(string),"{FF00FF}[VEHICLE]:{FFFFFF} %d is moving to the following pos: %f, %f, %f",playerid, x, y, z);
SendClientMessageToAll(-1,string);
Message(); //5 secs timer
return 1;
}
pawn Код:
pawn Код:
pawn Код:
|