10.11.2010, 09:35
i tried putting this in my gamemode:
if (strcmp(cmdtext, "/drift1tut", true)==0)
{
native CreateNPC(0,drifter1[]);
return 1;
}
but i get errors
D:\Server\server\gamemodes\1337.pwn(8311) : error 029: invalid expression, assumed zero
D:\Server\server\gamemodes\1337.pwn(8311) : error 017: undefined symbol "CreateNPC"
if (strcmp(cmdtext, "/drift1tut", true)==0)
{
native CreateNPC(0,drifter1[]);
return 1;
}
but i get errors
D:\Server\server\gamemodes\1337.pwn(8311) : error 029: invalid expression, assumed zero
D:\Server\server\gamemodes\1337.pwn(8311) : error 017: undefined symbol "CreateNPC"