Errors
#1


Errors
C:\Users\Joe\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoamMain.pwn(1051) : warning 217: loose indentation
C:\Users\Joe\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoamMain.pwn(1051) : error 029: invalid expression, assumed zero
C:\Users\Joe\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoamMain.pwn(1051) : error 017: undefined symbol "pickupid"
C:\Users\Joe\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoamMain.pwn(1053) : error 017: undefined symbol "pickupid"
C:\Users\Joe\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoamMain.pwn(1061) : warning 217: loose indentation

-------------------------------------------------------------------------------------------------------------------------------------
Gamemode


1051 public OnPlayerPickUpPickup(pickupid,1559)
1053 if (pickupid == kickstartout)
1061 if(!strcmp(cmd, "/pl",true) || !strcmp(cmd, "/pl",true))
Reply
#2

Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
	if (pickupid == kickstartout)
	{
	do what do you want here
	}
return 1;
}
Try this
Reply
#3

Quote:
Originally Posted by XxJoexX
1061 if(!strcmp(cmd, "/pl",true) || !strcmp(cmd, "/pl",true))[/color]
You can't use that under OnPlayerPickUpPickup since cmdtext isn't defined there
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)