Help with Format/String
#3

it will be like this ?
PHP код:
public OnPlayerDisconnect(playeridreason)
{
new 
Name[MAX_PLAYER_NAME];
GetPlayerName(playerid,Name,sizeof(Name));
new 
String[200];
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);
format(Stringsizeof(String), "%s() Disconnected while Cuffed!,Punishments: 60Min Jail and -4500$",Name,playerid);

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: 2 Guest(s)