Problem with ;
#1

Quote:

forward GivePlayerMoneyEx(playerid,ammount);//Forward - this is how you call a new public
public GivePlayerMoneyEx(playerid,ammount)
{
//First the gonna have to set the OldMoney of the player , just in case .
OldMoney[playerid] = GetPlayerMoney(playerid)//Get the money ( GetPlayerMoney ) they put it in the OldMoney var...
//Now we gotta define the new ammount of money the player holds , we gotta do it before we give him the money , so he wont get banned / kicked .
NewMoney[playerid] = ammount;//Putting the ammount in the NewMoney var
//Now we gotta give the player some sweet cash
GivePlayerMoney(playerid,ammount);//default function : )

return 1;
}

Quote:

Line 1753 NewMoney[playerid] = ammount;//Putting the ammount in the NewMoney var

ERRROR
Quote:

C:\Users\Arlind\Desktop\fsdf\filterscripts\Project .pwn(1753) : error 001: expected token: ";", but found "-identifier-"

Reply


Messages In This Thread
Problem with ; - by gekas - 11.04.2014, 15:01
Re : Problem with ; - by S4t3K - 11.04.2014, 15:02
Re: Problem with ; - by gekas - 11.04.2014, 15:04
Re: Problem with ; - by Bingo - 11.04.2014, 15:05
Re: Problem with ; - by gekas - 11.04.2014, 15:06
Re : Problem with ; - by S4t3K - 11.04.2014, 15:09

Forum Jump:


Users browsing this thread: 1 Guest(s)