Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock IsPlayerOnline(dono[]) { // [iPs] Ricop522
- new nome[24];
- for(new i = 0; i<MAX_PLAYERS;i++){
- GetPlayerName(i, nome, 24);
- if(!strcmp(dono, nome, true)) {
- return 1;
- }
- }
- return 0;
- }
- // Usando
- if(!IsPlayerOnline( HouseInfo[h][hOwner]) ) return SendClientMessage(playerid, COLOR_RED, "Existem pessoas dentro da casa! ((Dono Offline))");
Advertisement
Add Comment
Please, Sign In to add comment