- 0
Comanda /houseentrance
-
Similar Content
-
- 2 replies
- 2.003 views
-
- 1 answer
- 449 views
-
- 2 answers
- 1.044 views
-
Am o problema cu un battlepass,de ce nu merge comanda /misiuni cand o scriu,tin sa precizez ca script-ul mi l-a facut chatgpt
By cbnmihaita,
- 2 answers
- 859 views
-
- 3 answers
- 1.380 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.

Question
oCasine
Buna . Am si eu nevoie de putin ajutor
. Vreau sa creez comanda /houseentrance pentru a muta o casa de exemplu .
[pwn]if(strcmp(cmd, "/houseentrance", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] < 1339)
{
SendClientMessage(playerid, COLOR_GREY, "*You are not Authorized to use this Command!");
return 1;
}
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "SYNTAX: /houseentrance [houseid] - Moves a house to you");
return 1;
}
new proplev = strval(tmp);
if(proplev > sizeof(HouseInfo) || proplev < 0)
{
SendClientMessage(playerid,COLOR_WHITE,"House ID must be above 0 and below 649");
return 1;
}
else
{
if(proplev <= 649)
{
format(string, sizeof(string),"* Teleported the House Entrance"[pwn]
Am asta de la cineva si nu stiu unde sa o pun . va rog ajutati`ma .
Y!M : [email protected] !! Cam aTaT !!
4 answers to this question
Recommended Posts