28.07.2017, 14:00
Code
Helpppppppp
PHP код:
CMD:50(playerid, params[])
{
if(PlayerInfo[playerid][pConnectHours] == 50)
{
if(PlayerInfo[playerid][pConnectHours] < 50) return SendClientMessage(playerid, COLOR_RED, "
You are not enough 50 ConnectHours!");
else
{
SendClientMessageEx(playerid, COLOR_YELLOW, "Full weapons - $200.000 va 20.000 Mats!");
GivePlayerValidWeapon(playerid, 27, 60000);
GivePlayerValidWeapon(playerid, 24, 60000);
GivePlayerValidWeapon(playerid, 31, 60000);
GivePlayerValidWeapon(playerid, 34, 60000);
GivePlayerValidWeapon(playerid, 29, 60000);
GivePlayerCash(playerid, 200000);
PlayerInfo[playerid][pMats] += 20000;
return 1;
}
}
else SendClientMessageEx(playerid, COLOR_RED, "You are not enough 50 ConnectHours!");
return 1;
}