Vip problem
#2

pawn Код:
CMD:fix(playerid, params[])
{
   new vehicleid = GetPlayerVehicleID(playerid);
   if(PlayerData[playerid][VipLevel] < 1) return 0;
   IsPlayerInAnyVehicle(playerid);
   SetVehicleHealth(vehicleid, 1000.0);
   RepairVehicle(vehicleid);
   return 1;
}

CMD:v(playerid, params[])
{
   new string[128];
   new name[MAX_PLAYERS_NAME];
   if(PlayerData[playerid][VipLevel] < 1) return 0;
   GetPlayerName(playerid, name,MAX_PLAYERS_NAME);//here was the problem
   format(string, sizeof(string), "%s: %s", name);// onemore prob here tell that fast whats the next thing??
   SendClientMessageToAll(-1, string);
   return 1;
}
One more thing whats the next thing after `name` in that format string in that command of /v
Reply


Messages In This Thread
Vip problem - by kaloqn54 - 10.02.2013, 07:46
Re: Vip problem - by -=Dar[K]Lord=- - 10.02.2013, 08:23
Re: Vip problem - by Da_Noob - 10.02.2013, 08:32
Re: Vip problem - by -=Dar[K]Lord=- - 10.02.2013, 08:33
Re: Vip problem - by Neil. - 10.02.2013, 09:41
Re: Vip problem - by Da_Noob - 10.02.2013, 09:42
Re: Vip problem - by kaloqn54 - 10.02.2013, 10:07
Re: Vip problem - by kaloqn54 - 10.02.2013, 10:12
Re: Vip problem - by Da_Noob - 10.02.2013, 10:17
Re: Vip problem - by Neil. - 10.02.2013, 10:25

Forum Jump:


Users browsing this thread: 1 Guest(s)