error 010: invalid function or declaration - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: error 010: invalid function or declaration (
/showthread.php?tid=540801)
error 010: invalid function or declaration -
simo0000 - 07.10.2014
help me plz and thnx
pawn Код:
error 010: invalid function or declaration
pawn Код:
CMD:checkbalance(playerid, params[])
{
new string[256];//the variable which will store the formatted message we will format in the next line.
format(string, sizeof(string), "You currently have $%d In your bank account.", pInfo[playerid][Bank]);//this is the formated message which will tell the player that how much money he deposited in the bank account.
SendClientMessage(playerid,-1,string);//this will send the formatted above,and which was stored in the variable above.
}
return 1;
}
help me +rep
Re: error 010: invalid function or declaration -
zaibaslr2 - 07.10.2014
Quote:
Originally Posted by simo0000
help me plz and thnx
pawn Код:
error 010: invalid function or declaration
pawn Код:
CMD:checkbalance(playerid, params[]) { new string[256];//the variable which will store the formatted message we will format in the next line. format(string, sizeof(string), "You currently have $%d In your bank account.", pInfo[playerid][Bank]);//this is the formated message which will tell the player that how much money he deposited in the bank account. SendClientMessage(playerid,-1,string);//this will send the formatted above,and which was stored in the variable above. } return 1; }
help me +rep
|
CMD:checkbalance(playerid, params[])
{
new string[256];//the variable which will store the formatted message we will format in the next line.
format(string, sizeof(string), "You currently have $%d In your bank account.", pInfo[playerid][Bank]);//this is the formated message which will tell the player that how much money he deposited in the bank account.
SendClientMessage(playerid,-1,string);//this will send the formatted above,and which was stored in the variable above.
return 1;
}
Re : Re: error 010: invalid function or declaration -
simo0000 - 07.10.2014
Quote:
Originally Posted by zaibaslr2
CMD:checkbalance(playerid, params[])
{
new string[256];//the variable which will store the formatted message we will format in the next line.
format(string, sizeof(string), "You currently have $%d In your bank account.", pInfo[playerid][Bank]);//this is the formated message which will tell the player that how much money he deposited in the bank account.
SendClientMessage(playerid,-1,string);//this will send the formatted above,and which was stored in the variable above.
return 1;
}
|
thnx repped