27.02.2014, 13:34
Don't know why help me
Line 366
Quote:
C:\Users\Ultimate Gaming\Downloads\Compressed\UG-RP 0.3z\UG-RP 0.3z\filterscripts\testjob.pwn(366) : error 029: invalid expression, assumed zero Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |
Quote:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { new string[256]; if(dialogid == 115 && response) { if(IsPlayerAttachedObjectSlotUsed(playerid,1)) RemovePlayerAttachedObject(playerid,1); woodcutter[playerid] = true; Oldskin[playerid] = GetPlayerSkin(playerid); SetPlayerSkin(playerid, 133); SetPlayerCheckpoint(playerid,-1898.4493,-2008.8124,80.6425,1.0); SendClientMessage(playerid, COLOR_SYSTEM, "{EEADDF}>>{FFFFFF}Bat dau lam viec di chang trai, hay thu thap nhung khuc go tot nhat ve cho ta!"); ApplyAnimation(playerid,"CHAINSAW","WEAPON_csaw",4 .1,1,0,0,0,1); ClearAnimations(playerid); } if(dialogid == 116 && response){// woodcutter[playerid] = false;// SetPlayerSkin(playerid,Oldskin[playerid]);// DisablePlayerCheckpoint(playerid);// GivePlayerCash(giveplayerid, kgcutt[playerid]*8 ); format(string, sizeof(string), "{EEADDF}>>{FFFFFF}Ban nhan duoc %d$ cho so %d go ma ban thu nhap duoc",kgcutt[playerid]/2,kgcutt[playerid]); SendClientMessage(playerid, COLOR_SYSTEM, string); kgcutt[playerid] = 0; if(IsPlayerAttachedObjectSlotUsed(playerid,1)) RemovePlayerAttachedObject(playerid,1); if(IsPlayerAttachedObjectSlotUsed(playerid,2)) RemovePlayerAttachedObject(playerid,2); if(IsPlayerAttachedObjectSlotUsed(playerid,3)) RemovePlayerAttachedObject(playerid,3); } return 1; } |
Quote:
GivePlayerCash(giveplayerid, kgcutt[playerid]*8 ); |