04.06.2009, 22:13
I tryed moveobject but it saying errors to me...
The move object is this :
And the errors are there :
kapi in my language types gate
The objects are there :
Please help me.
The move object is this :
Код:
if(strcmp(cmdtext, "/kapilariac", true) == 0) if(GetPlayerSkin(playerid) == 271 { MoveObject(kapi1,1676.396240,-1450.866821,12.713753,Float:3); MoveObject(kapi2,1696.090698,19.341759,269.7591,Float:3); MoveObject(kapi3,1672.133545,-1460.273315,19.716784,Float:3); else { if(GetPlayerSkin(playerid) == < 271 || if(GetPlayerSkin(playerid) == > 271 SendClientMessage(playerid, COLOR_RED, "Admin bolgesinin kapilarini acip,kapatmak icin 271. skinde yani admin skininde olmalisin."); } return 1; } if(strcmp(cmdtext, "/kapilarikapa", true) == 0) { MoveObject(kapi1,1684.233276,-1460.420654,20.016806,Float:3); MoveObject(kapi2,1688.139160,-1460.420654,20.016806,Float:3); MoveObject(kapi3,1679.172974,-1460.430420,20.004419,Float:3); } else { if(GetPlayerSkin(playerid) == < 271 || if(GetPlayerSkin(playerid) == > 271 SendClientMessage(playerid, COLOR_RED, "Admin bolgesinin kapilarini acip,kapatmak icin 271. skinde yani admin skininde olmalisin."); } return 1; }
Код:
C:\DOCUME~1\THENIG~1\Desktop\HAVADA~1\SERVER\files\GAMEMO~1\bk.pwn(290) : warning 219: local variable "oisim" shadows a variable at a preceding level C:\DOCUME~1\THENIG~1\Desktop\HAVADA~1\SERVER\files\GAMEMO~1\bk.pwn(291) : warning 219: local variable "girisyazisi" shadows a variable at a preceding level C:\DOCUME~1\THENIG~1\Desktop\HAVADA~1\SERVER\files\GAMEMO~1\bk.pwn(306) : warning 219: local variable "oisim" shadows a variable at a preceding level C:\DOCUME~1\THENIG~1\Desktop\HAVADA~1\SERVER\files\GAMEMO~1\bk.pwn(321) : warning 219: local variable "oisim" shadows a variable at a preceding level C:\DOCUME~1\THENIG~1\Desktop\HAVADA~1\SERVER\files\GAMEMO~1\bk.pwn(368) : error 029: invalid expression, assumed zero C:\DOCUME~1\THENIG~1\Desktop\HAVADA~1\SERVER\files\GAMEMO~1\bk.pwn(372) : error 029: invalid expression, assumed zero C:\DOCUME~1\THENIG~1\Desktop\HAVADA~1\SERVER\files\GAMEMO~1\bk.pwn(374) : error 029: invalid expression, assumed zero C:\DOCUME~1\THENIG~1\Desktop\HAVADA~1\SERVER\files\GAMEMO~1\bk.pwn(374) : error 029: invalid expression, assumed zero C:\DOCUME~1\THENIG~1\Desktop\HAVADA~1\SERVER\files\GAMEMO~1\bk.pwn(374) : error 029: invalid expression, assumed zero C:\DOCUME~1\THENIG~1\Desktop\HAVADA~1\SERVER\files\GAMEMO~1\bk.pwn(374) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors.
The objects are there :
Код:
kapi1 = CreateObject(969, 1684.233276, -1450.922852, 12.732517, 0.0000, 0.0000, 0.0000); kapi2 = CreateObject(971, 1688.139160, -1460.420654, 20.016806, 269.7592, 4.2972, 184.2972); kapi3 = CreateObject(971, 1679.172974, -1460.430420, 20.004419, 269.7592, 4.2972, 184.2972);