Vip problem
#4

Quote:
Originally Posted by Da_Noob
Посмотреть сообщение
It's probably params, so it would look like this:

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);
   format(string, sizeof(string), "%s: %s", name, params);// added params here
   SendClientMessageToAll(-1, string);
   return 1;
}
Yea , it might be , but we cant go against the thinking of the owner of the script so i asked him
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)