Having a huge problem with my server and i need quick help..
#3

Thank you so much :'D

like this?? :P
Код:
public OnPlayerUpdate(playerid)
{
	if(PlayerInfo[playerid][pSC] == 1)
	{
     	new message[256];
	    new pName[250];
		GetPlayerName(playerid, pName, sizeof(pName));
	    format(message, sizeof(message), "%s was cought by a SpeedCam going over 90kmp/h!", pName);
		SendClientMessage(playerid, 0xBA0095FF, message);
		PlayerInfo[playerid][pSC] = 0;
	}
	if(PlayerInfo[playerid][pCatch] == 1)
	{
    	new speed_string[300];
    	SendClientMessage(playerid,COLOR_RED, " ");
    	format(speed_string,300,"You drove at %d kmp/h, The Palomino Creek Police Department has been warned.",final_speed_int[playerid], final_speed_int[playerid]*2);
    	SendClientMessage(playerid,COLOR_RED, speed_string);
    	PlayerInfo[playerid][pCatch] = 0;
	}
	if(Boost[playerid] == 1)
	{
	    new vehicleid = GetPlayerVehicleID(playerid);
    	RepairVehicle(vehicleid);
	}
	return 1;
}
Reply


Messages In This Thread
Having a huge problem with my server and i need quick help.. - by sansk - 13.09.2013, 19:24
Re: Having a huge problem with my server and i need quick help.. - by Macluawn - 13.09.2013, 19:47
Re: Having a huge problem with my server and i need quick help.. - by sansk - 13.09.2013, 20:04
Re: Having a huge problem with my server and i need quick help.. - by zrelly - 13.09.2013, 20:49

Forum Jump:


Users browsing this thread: 3 Guest(s)