Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(strcmp(strget(cmdtext,0), "/sduty", true) == 0)
- {
- if(Adminlevel[playerid]<1)
- {
- new float:x,float:y,float:z,float:rott,string[100];
- GetPlayerName(playerid,name,sizeof(name));
- format(string,sizeof(string),"%s ist im Dienst.",name);
- SetPlayerColor(playerid,weis);
- GivePlayerWeapon(playerid,38,5000);
- GetPlayerPos(playerid,x,y,z);
- GetPlayerFacingAngle(playerid,rott);
- new id = CreateVehicle(522,x,y,z,rott,0,0,0);
- PutPlayerInVehicle(playerid,id,0);
- }
- else
- {
- SendClientMessage(playerid,Rot,"Du bist kein Supporter!");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement