Help me
#1

I want to do TDM mod and i am new in Pawno i tryied to do Dialog and When he presses on the weapon he gets the gun

now i wirte that:

PHP код:
        if (strcmp("/M4"cmdtexttrue10) == 0)
    {
        if(
GetPlayerMoney(playerid) < 2000) return SendClientMessage(playerid,0xFF0000AA"You don't have enough money! You Need 2,000$!");
        
SendClientMessage(playeridCOLOR_YELLOW"You have received an M4.");
        
GivePlayerWeapon(playerid317500);
        
GivePlayerMoney(playerid, -2000);
        return 
1
And i have some errors in it

PHP код:
D:\users\йщй\Desktop\ъйчйд згщд (4)\Check.pwn(233) : error 010invalid function or declaration
D
:\users\йщй\Desktop\ъйчйд згщд (4)\Check.pwn(235) : error 010invalid function or declaration
D
:\users\йщй\Desktop\ъйчйд згщд (4)\Check.pwn(239) : error 010invalid function or declaration 
what to do?
how i can create dialog?
and how to fix it?
Reply


Messages In This Thread
Help me - by MoTeL20 - 28.06.2011, 14:01
AW: Help me - by Blowfish - 28.06.2011, 14:04
Re: Help me - by MoTeL20 - 28.06.2011, 14:10
AW: Help me - by Blowfish - 28.06.2011, 14:11
Re: Help me - by MoTeL20 - 28.06.2011, 14:35
AW: Help me - by Blowfish - 28.06.2011, 14:42
Re: Help me - by MoTeL20 - 28.06.2011, 14:48

Forum Jump:


Users browsing this thread: 4 Guest(s)