Hi, please solve this problem
#1

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
 	if(strcmp(cmdtext, "/hydra", true) == 0)
		{
            money = GetPlayerMoney(playerid);
                }
            if(money >= 500000)
            	{
					format(hydra, sizeof(hydra), "%s, tu nusipirkai masina Hydra uz %d-sveikiname!Smagios keliones!", GetPlayerName(playerid, vardas, sizeof(vardas)), SetPlayerMoney(playerid, -500000));
					new Float:x,Float:y,Float:z;
					GetPlayerPos(playerid, x, y, z);
					SetVehiclePos(playerid, x, y, z);
					SendClientMessage(playerid, 0xFFFFFFFF, hydra);
				}
		}
	else if( money < 500000) return SendClientMessage(playerid, 0xFFFFFFFF, "Tu neturi tiek pinigu, atsiknisk! :D");
	return 1;
	}
	return 0;
}
And I get these errors:
Код:
C:\Documents and Settings\Justas\Desktop\samp\gamemodes\Cowboy.pwn(66) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Justas\Desktop\samp\gamemodes\Cowboy.pwn(66) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Justas\Desktop\samp\gamemodes\Cowboy.pwn(66) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Justas\Desktop\samp\gamemodes\Cowboy.pwn(66) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply


Messages In This Thread
Hi, please solve this problem - by karakana7 - 29.10.2010, 17:57
Re: Hi, please solve this problem - by WillyP - 29.10.2010, 18:01
Re: Hi, please solve this problem - by karakana7 - 29.10.2010, 18:02
Re: Hi, please solve this problem - by WillyP - 29.10.2010, 18:03
Re: Hi, please solve this problem - by DeathOnaStick - 29.10.2010, 18:06
Re: Hi, please solve this problem - by WillyP - 29.10.2010, 18:07
Re: Hi, please solve this problem - by karakana7 - 29.10.2010, 18:08
Re: Hi, please solve this problem - by DeathOnaStick - 29.10.2010, 18:10
Re: Hi, please solve this problem - by karakana7 - 29.10.2010, 18:13
Re: Hi, please solve this problem - by WillyP - 29.10.2010, 18:15

Forum Jump:


Users browsing this thread: 3 Guest(s)