How to make Case 2?
#3

I'll advice you to use Dynamic checkpoints

Create each checkpoint for specific classes. and you wont need cases,although you could uses cases Switch(checkpointid)
PHP код:
Example CreateDynamicCP(Float:xFloat:yFloat:zFloat:sizeworldid = -1interiorid = -1playerid = -1Float:distance 100.0);
public 
OnPlayerEnterDynamicCP(playeridcheckpointid){
     if(
checkpointid == Example) {
     if(
GetPlayerSkin(playerid) != 285) return SendClientMessage(playerid, -1"{FF0000}Sorry This Place only For SWAT, you are not SWAT");
     
GivePlayerWeapon(playerid2465);
     
GivePlayerWeapon(playerid26150);
     
GivePlayerWeapon(playerid31150);
     
GivePlayerWeapon(playerid3450);
     
SetPlayerArmour(playerid100);
     
SetPlayerHealth(playerid100);
     
SendClientMessage(playerid, -1"{FF0000}You have been Refill Come Back After you Dead");
     }
   }
 } 
Reply


Messages In This Thread
How to make Case 2? - by Thanks - 15.12.2016, 16:12
Re: How to make Case 2? - by iLearner - 15.12.2016, 16:14
Re: How to make Case 2? - by ISmokezU - 15.12.2016, 16:20
Re: How to make Case 2? - by Thanks - 15.12.2016, 16:28
Re: How to make Case 2? - by iLearner - 15.12.2016, 16:29
Re: How to make Case 2? - by Thanks - 15.12.2016, 16:39
Re: How to make Case 2? - by Thanks - 15.12.2016, 16:45
Re: How to make Case 2? - by iLearner - 15.12.2016, 17:20
Re: How to make Case 2? - by RedRex - 15.12.2016, 17:42
Re: How to make Case 2? - by ISmokezU - 15.12.2016, 17:52

Forum Jump:


Users browsing this thread: 2 Guest(s)