02.08.2012, 21:13
if someone can help me that has teamviewer pm me and i'll give the id and pass to help
thanks,
-A
thanks,
-A
if (strcmp("/dropcar", cmdtext, true, 10) == 0) { SendClientMessage(playerid,0xFFFF00AA, "Take The Car To The Checkpoint For Exporting!"); SetPlayerCheckpoint(playerid,2699.4993,-2226.0491,13.5501,0.0); return 1;
public OnPlayerEnterCheckpoint(playerid); { GivePlayerMoney(playerid, 5000); DisablePlayerCheckpoint(playerid); SendClientMessage(playerid,0xFFFF00AA, "You Have Earned $5000 For Exporting The Car!"); return 1; }
if(strcmp(cmdtext, "/robbank", true) == 0) { if(IsPlayerConnected(playerid)) { if(robbing[playerid] == 1) { SendClientMessage(Playerid, 0xAFAFAFAA, "You Are Already Robbing The Bank!"); return 1; } if(alreadyrobbed[playerid] == 1) { SendClientMessage(playerid, 0xFFFFFFAA, "You Already Robbed The Bank Lately, Please Wait 1 Hour!"); return 1; } if(!IsPlayerInRangeOfPoint(playerid, 15.0, 2394.35,-1593.94,785.62))//CHANGE X Y Z!!! { SendClientMessage(playerid, 0xAFAFAFAA, "You Are Not At The Bank!"); return 1; } else { SendClientMessage(playerid, 0xFFFF00AA "You Have Robbed The Los Santos Local Bank And Stole $500,000!"); robbing[playerid] = 1; LoopingAnim(playerid,"ped", "ARRESTgun", 4.0, 0, 1, 1, 1, 0); GivePlayerMoney(playerid, 1000000); SendClientMessageToAll(0xFF9900AA, "||----------Breaking News----------||"); SendClientMessageToAll(0x33CCFFAA, " The Los Santos Bank Has Been Robbed!"); SendClientMessageToAll(0x33CCFFAA, " We Advise Everyone To Stay Away From The Area"); SendClientMessageToAll(0x33CCFFAA, " Untill Further Notice."); SendClientMessageToAll(0xFF9900AA, "||----------Breaking News----------||"); } } return 1; }
C:\Documents and Settings\Owner\Desktop\LS_DM.pwn(256) : error 017: undefined symbol "robbing" C:\Documents and Settings\Owner\Desktop\LS_DM.pwn(256) : warning 215: expression has no effect C:\Documents and Settings\Owner\Desktop\LS_DM.pwn(256) : error 001: expected token: ";", but found "]" C:\Documents and Settings\Owner\Desktop\LS_DM.pwn(256) : error 029: invalid expression, assumed zero C:\Documents and Settings\Owner\Desktop\LS_DM.pwn(256) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.