03.01.2015, 16:10
(
Последний раз редактировалось sas10; 03.01.2015 в 16:55.
)
Hello Guys
D:
My CMD Only Working in it The Seven But SexShop i Cant Robing
its tell me u are not in Seven Checkpoints im in SexShop
How To Fix
See Code And Photo Message
Help Me +Rep
see photo
D:
My CMD Only Working in it The Seven But SexShop i Cant Robing
its tell me u are not in Seven Checkpoints im in SexShop
How To Fix
See Code And Photo Message
Help Me +Rep
PHP код:
CMD:robstore( playerid, params[ ] )
{
if(Fuck)
{
if ( pRobbingP[ playerid ] )
return SendClientMessage( playerid, RED, "ERROR:{FFFFFF} You are already robbing SexShop" );
if ( !IsPlayerInDynamicCP( playerid,cp_SexShop ) )
return SendClientMessage( playerid, RED, "ERROR:{FFFFFF} You must be in the checkpoint at SexShop to use this command!" );
if ( SexShopRobbed )
return SendClientMessage( playerid, RED, "ERROR:{FFFFFF} SexShop has been robbed recently, please wait patiently!" );
robTimerP[ playerid ] = SetTimerEx( "robPizza", 30000, false, "i", playerid );
SendClientMessage( playerid, INFO, "[ROBBERY INFO] You have started a robbery, it will last 30 seconds. Do not leave the checkpoint! SexShop" );
pRobbingP[ playerid ] = true;
SevenRobbed = true;
new
szStr[ 128 ],
usrName[ 24 ];
GetPlayerName( playerid, usrName, 24 );
format( szStr, 128, "[ROBBERY] %s has began a robbery at SexShop!", usrName );
SendClientMessageToAll( ROB, szStr );
GameTextForPlayer( playerid, "~g~Robbery in process~n~~r~Do not leave the checkpoint SexShop!", 30000, 3 );
SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid) +5);
}
else
{
if ( pRobbingP[ playerid ] )
return SendClientMessage( playerid, RED, "ERROR:{FFFFFF} You are already robbing Seven" );
if ( !IsPlayerInDynamicCP( playerid,cp_Seven ) )
return SendClientMessage( playerid, RED, "ERROR:{FFFFFF} You must be in the checkpoint at Seven to use this command!" );
if ( SevenRobbed )
return SendClientMessage( playerid, RED, "ERROR:{FFFFFF} Seven has been robbed recently, please wait patiently!" );
robTimerP[ playerid ] = SetTimerEx( "robPizza", 30000, false, "i", playerid );
SendClientMessage( playerid, INFO, "[ROBBERY INFO] You have started a robbery, it will last 30 seconds. Do not leave the checkpoint Seven!" );
pRobbingP[ playerid ] = true;
SevenRobbed = true;
new
szStr[ 128 ],
usrName[ 24 ];
GetPlayerName( playerid, usrName, 24 );
format( szStr, 128, "[ROBBERY] %s has began a robbery at Seven!", usrName );
SendClientMessageToAll( ROB, szStr );
GameTextForPlayer( playerid, "~g~Robbery in process~n~~r~Do not leave the checkpoint Seven!", 30000, 3 );
SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid) +5);
}
return 1;
}