14.03.2011, 19:36
(
Последний раз редактировалось Sasino97; 14.03.2011 в 20:21.
)
Thanks!!!!!! I'll test it
EDIT:
I wrote a command with that function:
But it says ' Unknown Command ' even if I am logged as admin
EDIT:
I wrote a command with that function:
pawn Код:
if(strcmp(cmdtext, "/creabiz", true) == 0)
{
if(!IsPlayerAdmin(playerid)) return 1;
tmp = strtok(cmdtext,idx);
if(!strval(tmp)) return SendClientMessage(playerid, COLOR_RED, "USO: /creabiz [Costo].");
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid, X, Y, Z);
new int = GetPlayerInterior(playerid);
new vw = GetPlayerVirtualWorld(playerid);
CreateBusiness("Il Mio Business", strval(tmp), X, Y, Z, int, vw);
return 1;
}