Problem with loadiron command.
#5

here you go, copy & paste style >.>

PHP код:
if (strcmp("/loadiron"cmdtext,true,10) == 0)
{
    if(!
IsPlayerInRangeOfPoint(playerid,2.0,-2454.5771,2254.1755,4.9802)) return SendClientMessage(playerid,COLOR_RED,"You are not at the warehouse!");
    
PlayerInfo[playerid][pIron]++;
    
PlayerInfo[playerid][pIron]++;
    
PlayerInfo[playerid][pIron]++;
    
PlayerInfo[playerid][pIron]++;
    
PlayerInfo[playerid][pIron]++;
    
SendClientMessage(playerid,COLOR_PURPLE,"You Have Loaded In 5 Pieces of Iron!");
    return 
1;

i'd suggest you checkout that site: https://sampwiki.blast.hk/wiki/Control_Structures
Reply


Messages In This Thread
Problem with loadiron command. - by R4mpage - 25.12.2013, 14:10
Re: Problem with loadiron command. - by CutX - 25.12.2013, 14:12
Re: Problem with loadiron command. - by PrivatioBoni - 25.12.2013, 14:14
Re: Problem with loadiron command. - by R4mpage - 25.12.2013, 14:16
Re: Problem with loadiron command. - by CutX - 25.12.2013, 14:23
Re: Problem with loadiron command. - by Sanady - 25.12.2013, 16:35

Forum Jump:


Users browsing this thread: 2 Guest(s)