05.09.2010, 06:57
damn it, i got some annoying errors -.-
The Errors are everywhere xD
This is not really the title of this topic, but can anyone help me?
EDIT: Why the hell is that Code like this, i postet a different one....
Sorry Guys, but i think i can't post the original Code >.<
Code:
if(strcmp("/hns", cmdtext, true, 10) ==0) { if(AccInfo[playerid][hns] == 0) { if(AccInfo[playerid][afk] == 0) { SendClientMessage(playerid,GREEN,"You want to play Hide'n'Seak, heh? Have fun!"); SendClientMessage(playerid,LIGHTBLUE,"But please follow the /rules!"); AccInfo[playerid][hns] == 1; DestroyVehicle(playerid); new rand = random(1); switch (rand) { case 0:SetPlayerPos(playerid,405.9053,2456.6348,16.5000),SetPlayerTeam(playerid,0),SetPlayerSkin(playerid,164); case 1:SetPlayerPos(playerid,1318.2029,1284.1371,10.8203),SetPlayerTeam(playerid,1),SetPlayerSkin(playerid,33); } } else { SendClientMessage(playerid,red,"Error: You can't use that cmd when you're cmd. Please use /afk to be able!"); return 1; } else { SendClientMessage(playerid,LIGHTGREEN,"Huh, you're already in the Game, please use /exit to exit this Game!"); return 1; }
This is not really the title of this topic, but can anyone help me?
EDIT: Why the hell is that Code like this, i postet a different one....
Sorry Guys, but i think i can't post the original Code >.<