Passport Bug!
#10

pawn Код:
if(PlayerInfo[giveplayerid][pPassport] == 1) return SendClientMessage(playerid, COLOR_GREY, "This player has a passport already!");
GetPlayerName(playerid, sendername, sizeof(sendername));
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
PlayerInfo[giveplayerid][pPassport] = 1;
format(string, sizeof(string),"You gave a passport to %s.",giveplayer);
SendClientMessage(playerid, COLOR_GREY, string);
format(string, sizeof(string),"%s gave you a passport. You are now a citizen..",sendername);
SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string);
format(string, sizeof(string),"[ADMIN]: %s gave a passport to %s.",sendername, giveplayer);
SendAdminMessage(COLOR_LIGHTRED, string);
You don't need the 'name2' variable.
Reply


Messages In This Thread
Passport Bug! - by Oscii - 25.05.2012, 18:33
Re: Passport Bug! - by milanosie - 25.05.2012, 18:36
Re: Passport Bug! - by Oscii - 25.05.2012, 18:38
Re: Passport Bug! - by milanosie - 25.05.2012, 18:39
Re: Passport Bug! - by Oscii - 25.05.2012, 18:42
Re: Passport Bug! - by milanosie - 25.05.2012, 18:45
AW: Passport Bug! - by EthanR - 25.05.2012, 19:16
Re: Passport Bug! - by Oscii - 25.05.2012, 19:23
Re: Passport Bug! - by milanosie - 25.05.2012, 19:24
Re: Passport Bug! - by MadeMan - 25.05.2012, 19:27
Re: Passport Bug! - by Oscii - 25.05.2012, 19:30

Forum Jump:


Users browsing this thread: 2 Guest(s)