Help remove player driving license
#2

Do this:
pawn Код:
//Reorder this:

GetPlayerName(pid, playername, sizeof(playername));
if(sscanf(params, "u", pid)) return SendClientMessage(playerid, -1, "Usage: /nodriving (player id)");
if(!IsPlayerConnected(pid)) return SendClientMessage(playerid, Color_Red, "Player must be connected.");

//into this

if(sscanf(params, "u", pid)) return SendClientMessage(playerid, -1, "Usage: /nodriving (player id)");
if(!IsPlayerConnected(pid)) return SendClientMessage(playerid, Color_Red, "Player must be connected.");
GetPlayerName(pid, playername, sizeof(playername));
PID is not yet present, and it's value by default is 0.
Reply


Messages In This Thread
Help remove player driving license - by Guss - 13.03.2015, 20:50
Re: Help remove player driving license - by Misiur - 13.03.2015, 22:29
Respuesta: Re: Help remove player driving license - by Guss - 13.03.2015, 23:08

Forum Jump:


Users browsing this thread: 1 Guest(s)