Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

Posted

   157    - public OnPlayerCommandText(playerid, cmdtext[])
{

	   //==============================/v help=============================
	   
	   if (strcmp("/vhelp", cmd, true, 10) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
			SendClientMessage(playerid, ,"____________Ulric Car Ownership___________________________";
			SendClientMessage(playerid, ,"*** CAR HELP *** type the command for more help");
			SendClientMessage(playerid, ,"*** CAR *** /vpark /vbuy /vcall /vlock");
			SendClientMessage(playerid, ,"*** CAR *** /vunlock /vplate /vsell /mycar");
            SendClientMessage(playerid, ,"*** CAR *** /openbonnet /closebonnet /buyalarm /alarmon");
            SendClientMessage(playerid, ,"*** CAR *** /alarmoff /opendoor /closedoor /lighton /lightoff")
		}
		return 1;
174-	}
	   
C:\Users\Vlad\Desktop\carowner.pwn(133) : warning 235: public function lacks forward declaration (symbol "OnPlayerUpdate")
C:\Users\Vlad\Desktop\carowner.pwn(162) : error 017: undefined symbol "cmd"
C:\Users\Vlad\Desktop\carowner.pwn(166) : error 029: invalid expression, assumed zero
C:\Users\Vlad\Desktop\carowner.pwn(166) : warning 215: expression has no effect
C:\Users\Vlad\Desktop\carowner.pwn(167) : error 029: invalid expression, assumed zero
C:\Users\Vlad\Desktop\carowner.pwn(167) : warning 215: expression has no effect
C:\Users\Vlad\Desktop\carowner.pwn(167) : error 001: expected token: ";", but found ")"
C:\Users\Vlad\Desktop\carowner.pwn(167) : error 029: invalid expression, assumed zero
C:\Users\Vlad\Desktop\carowner.pwn(167) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.

au fost 4 am incercat sa rezolv si mia dat 6 :| chiar nu imi dau seama ce este gresit

mca.png

4 answers to this question

Recommended Posts

Posted

Asta

if(strcmp("/vhelp", cmd, true, 10) == 0)

Fao asa:

if(strcmp("/vhelp", cmdtext, true, 6) == 0)


Asta

SendClientMessage(playerid, ,"____________Ulric Car Ownership___________________________";

Fao asa:

SendClientMessage(playerid, ,"____________Ulric Car Ownership___________________________");


Adauga Culori la Toate SendClientMessage-urile


Adauga ';' la ultim-ul SendClientMessage...

142sj0l.png

Underground-GFX

Posted

Asta

if(strcmp("/vhelp", cmd, true, 10) == 0)

Fao asa:

if(strcmp("/vhelp", cmdtext, true, 6) == 0)


Asta

SendClientMessage(playerid, ,"____________Ulric Car Ownership___________________________";

Fao asa:

SendClientMessage(playerid, ,"____________Ulric Car Ownership___________________________");


Adauga Culori la Toate SendClientMessage-urile


Adauga ';' la ultim-ul SendClientMessage...

THx Roach You're The Best 

mca.png
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.