13.08.2015, 10:54
With the code you provided, it should work fine as far as i know..
well might be a problem with ur callback so try it in this callback, better to use it like this:
well might be a problem with ur callback so try it in this callback, better to use it like this:
PHP код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new string[128];
new carid = GetVehicleModel(vehicleid);
if(carid == 425 && GetPVarInt(playerid, "_Stunt") == 1 && ispassenger == 0)
{
format(string,sizeof(string),"* {FFFFFF}%s {F68600}Has Got the hunter ", PlayerName(playerid));
SendClientMessageToAll(COLOR_ADMIN, string);
}
return 1;
}