Help with Format/String
#1

Hi , i create this One (to punish players who disconnect if they are Cuffed):
PHP код:
public OnPlayerDisconnect(playeridreason)
{
if(
PlayerCuffed[playerid] == 2)
{
SafeGivePlayerMoney(playerid, -4500);
PlayerInfo[playerid][pJailed] = 2
PlayerInfo[playerid][pJailTime] = 60*60;
SetPlayerInterior(playerid6);
PlayerInfo[playerid][pInt] = 6;
SetPlayerPos(playerid264.6288,77.5742,1001.0391);
SetPlayerWorldBounds(playerid264.6288,77.5742,1001.0391,1798.7453);

so , i want to get the Name of the player who has been kicked and say:
%s cuffed and Disconnect, 60Min Jail and -4500$ (i want someone helping me to create it )

i used Format but i get Erros for Undefinned symbole String,
So , if anyone can Create it for me should be better Thanks.
Reply


Messages In This Thread
Help with Format/String - by ServerScripter - 05.10.2011, 20:40
Re: Help with Format/String - by henry jiggy - 05.10.2011, 20:56
Re: Help with Format/String - by ServerScripter - 05.10.2011, 21:04
Re: Help with Format/String - by Tigerkiller - 05.10.2011, 21:22
Re: Help with Format/String - by ServerScripter - 05.10.2011, 21:23
Re: Help with Format/String - by Tigerkiller - 05.10.2011, 21:28
Re: Help with Format/String - by ServerScripter - 05.10.2011, 21:54

Forum Jump:


Users browsing this thread: 4 Guest(s)