AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Problem with the script (https://forums.alliedmods.net/showthread.php?t=187983)

Boomd 06-20-2012 16:31

Problem with the script
 
Code:

public DeathMatch(playerid)
{
75:        SendClientMessageToAll(COLOR_RED,  "DM event has started");
    SetPlayerCheckpoint(playerid, 1479.2354, -1416.1747, 11.8828, 312.7815);
    SetWorldTime(XX:50);
        return 1;
}

D:\igri\gta sa\GTA San Andreas\pawno\eventdm.pwn(75) : error 035: argument type mismatch (argument 1)

YamiKaitou 06-20-2012 16:41

Re: Problem with the script
 
We do not know anything about coding for GTA. Recommend you finding the appropriate site to ask your question

Waleed 06-20-2012 18:32

Re: Problem with the script
 
I,think playerid is not a valid index,It should be id or player.
But,I don't know about GTA Scripting.Try changing index to id.If it work :D

YamiKaitou 06-20-2012 18:34

Re: Problem with the script
 
Quote:

Originally Posted by Waleed (Post 1732836)
I,think playerid is not a valid index,It should be id or player.

Nothing to do with the error

Quote:

But,I don't know about GTA Scripting.
Then do not suggest anything

Quote:

Try changing index to id.If it work :D
Where do you see id defined?


All times are GMT -4. The time now is 06:17.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.