- 0
Problema /Unrentroom
-
Similar Content
-
- 1 answer
- 234 views
-
- 3 answers
- 346 views
-
- 3 replies
- 398 views
-
- 1 reply
- 348 views
-
- 1 answer
- 203 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
H3AtonN
Problema intalnita (descriere): Dau /Rentroom,comanda merge,si ma pune cu chirie,la casa respectiva,dar daca dau /unrent.. imi zice "Ai deja o chirie" Ce sa-i fac?
Ero(area / rile) / warning-(ul / urile): -
Liniile de cod / sursa / script-ul(obligatoriu):
if(strcmp(cmd, "/unrentroom", true) == 0)
Edited by H3AtonN{
if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, playername, sizeof(playername));
if(PlayerInfo[playerid][pRent] != 255) return SCM(playerid, -1, "Ai deja o chirie!");
PlayerInfo[playerid][pRent] = 255;
SendClientMessage(playerid, COLOR_WHITE, "Ai renuntat la chirie. Acum esti un om al strazii!");
}
return 1;
}
Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: Da,nu am reusit.
Link to comment
Share on other sites
15 answers to this question
Recommended Posts