Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(GetPlayerWantedLevel(playerid) > 1)
- {
- GameTextForPlayer(playerid, "~r~Preso!", 2500, 3);
- SetPlayerWantedLevel(playerid, 0);
- static
- szName[MAX_PLAYER_NAME][2],
- szString[128];
- GetPlayerName(playerid, szName[0], MAX_PLAYER_NAME);
- GetPlayerName(killerid, szName[1], MAX_PLAYER_NAME);
- format(szString, sizeof(szString), "<< O jogador %s prendeu %s >>", szName[1],szName[0]);
- SendClientMessageToAll(0xFFFFFFFF, szString);
- SetPlayerPos(playerid, 246.7079,66.2239,1003.6406);
- return SetTimerEx("@Desprender", 20000, false, "i", playerid);
- }
- @Desprender(i);
- public @Desprender(i)
- {
- static szName[128];
- GetPlayerName(i, szName, MAX_PLAYER_NAME);
- format(szName, sizeof(szName), "<< O jogador %s foi solto >>", szName);
- SendClientMessageToAll(0xFFFFFFFF, szName);
- return SpawnPlayer(i);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement