Help me out here
#1

Код:
(85) : error 029: invalid expression, assumed zero
PHP код:
if(IsPlayerAdmin(playerid))
        if(
EditingObject[playerid] == 1) return SendClientMessage(playeridCOLOR_BRIGHTRED"ERROR: You're already editing an object! Use /saveobject to save it! Or use /abort to cancel this object!");
        new 
Float:XFloat:YFloat:Zstr[256];
        if(
sscanf(params"d"newobj)) return SendClientMessage(playeridCOLOR_WHITE"USAGE: /create <objectid>");
        if(
newobj 15000 || newobj 1) return SendClientMessage(playeridCOLOR_BRIGHTRED"ERROR: Invalid objectid!");
        
GetPlayerPos(playeridXYZ);
        
EditingObject[playerid] = 1;
        
Object CreateObject(newobjX+5Y+5Z000);
        
format(strsizeof str"Succesfully placed object: %d on the coordinates: %.2f, %.2f, %.2f!"newobjXYZ);
        
SendClientMessage(playeridCOLOR_GREENstr);
        
oX X+3;
        
oY Y+3;
        
oZ Z;else
                
SendClientMessage(playerid0xF50A1CFF"You are not a admin!!");
        return 
1
why?!
_______________________
1-3$ fix warnings 1-5$fix errors
6-15$ make gamemodes(not roleplay) 3-10$ make filterscripts-scriptfiles
Dont ASK! me RolePlay questions
www.mefreeroam.tk
Reply


Messages In This Thread
Help me out here - by FireCat - 29.08.2010, 14:22
Re: Help me out here - by FireCat - 29.08.2010, 14:28
Re: Help me out here - by Jeffry - 29.08.2010, 14:37
Re: Help me out here - by FireCat - 29.08.2010, 14:40
Re: Help me out here - by Jeffry - 29.08.2010, 14:44
Re: Help me out here - by FireCat - 29.08.2010, 15:10
Re: Help me out here - by Jeffry - 29.08.2010, 15:16

Forum Jump:


Users browsing this thread: 2 Guest(s)