Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public LogarPlayer(playerid)
- {
- SpawnPlayer(playerid);
- if(udb_getPrisao(PlayerName(playerid)) || Procurados[playerid])
- {
- Presos[playerid] = 1;
- Procurados[playerid] = 0;
- SetPlayerFacingAngle(playerid, 0);
- SetPlayerInterior(playerid, 10);
- switch(random(4))
- {
- case 0: SetPlayerPos(playerid, 227.6684, 110.1895, 999.0156);
- case 1: SetPlayerPos(playerid, 223.0134, 110.3193, 999.0156);
- case 2: SetPlayerPos(playerid, 219.3730, 110.2772, 999.0156);
- case 3: SetPlayerPos(playerid, 214.9654, 109.4626, 999.0156);
- }
- SendClientMessage(playerid, COLOR_RED, "Vocκ estα preso!");
- }
- }
Add Comment
Please, Sign In to add comment