C:\Users\Safa B\Desktop\Server\gamemodes\gamemode.pwn(19784) : warning 202: number of arguments does not match definition C:\Users\Safa B\Desktop\Server\gamemodes\gamemode.pwn(19790) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664
case DIALOG_HOTDOG:
{
if(response)
{
if(GetPlayerHealth(playerid)>70)
{
SetPlayerHealth(playerid, 100);
}
ac_GivePlayerMoney(playerid, -100);
SendClientMessage(playerid, HBLAU, "Du hast dir von Phillip fьr 100$ ein Hotdog gekauft.");
SetPlayerHealth(playerid, GetPlayerHealth(playerid)+30);
}
else
{
SendClientMessage(playerid, GRAU, "Du hast dir kein Hotdog gekauft.");
}
}
case DIALOG_HOTDOG:
{
if(response)
{
new Float:health;
GetPlayerHealth(playerid, health)
if(health >70)
{
SetPlayerHealth(playerid, 100);
}
ac_GivePlayerMoney(playerid, -100);
SendClientMessage(playerid, HBLAU, "Du hast dir von Phillip fьr 100$ ein Hotdog gekauft.");
SetPlayerHealth(playerid, GetPlayerHealth(playerid)+30);
}
else
{
SendClientMessage(playerid, GRAU, "Du hast dir kein Hotdog gekauft.");
}
}
|
PHP код:
|
|
There's a valid reason why marcel didn't just fix the code for him. you just go against his point.
|
|
lemme explaint:
newbie see this post => goto wiki => didn't undestand => come back here and start beg for help => no one helped him => bump before 1 day => got banned #True_Story |
|
This guy knows what he's talking about! He's a Lead SA-MP Scripter.
#True_Story |
Rank: SA-MP Scripter