Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new Float:JailPos[][3] =// Jail Pos für Patino
- {
- {215.3759,109.6823,999.0156},
- {219.4164,109.7816,999.0156},
- {227.4670,109.8071,999.0156,
- {223.2612,110.0320,999.0156}
- };
- if(isPlayerInFrakt(killerid,1) && duty[killerid]==true)
- {
- if(GetPVarInt(playerid,"Wanteds") >= 5)
- {
- new string[128];
- new string2[128];
- format(string,sizeof(string)," Du sitzt für %i Minuten im Knast.",GetPVarInt(playerid,"Wanteds"));
- format(string2,sizeof(string2)," %s hat den Gesuchten %s getötet.",SpielerName(killerid),SpielerName(playerid));
- SetPVarInt(playerid,"Knastzeit",GetPVarInt(playerid,"Wanteds"));
- SetPVarInt(playerid,"ImKnast",1);
- SetPVarInt(playerid,"Wanteds",0);
- SendClientMessageToAll(ROT,string2);
- SendClientMessage(playerid,ROT,string);
- SetPlayerInterior(playerid,10);
- new zufallzelle = random(sizeof(JailPos));
- SetPlayerPos(playerid,JailPos[zufallzelle][0],JailPos[zufallzelle][1],JailPos[zufallzelle][2]);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment